<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Layui</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../static/layui/css/layui.css"
	media="all">
<link rel="stylesheet" href="../static/css/util.css">
<script type="text/javascript"
	src="../static/js/jquery-1.12.4.min.js"></script>

<script type="text/javascript" src="../static/js/sys/custodian/custodian.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
<!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>

	<!-- 头部搜索框 -->
	<div id="search-header">
		<form id="userForm" lay-filter="AreaForm" class="layui-form queryForm">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">管理人名</label>
					<div class="layui-input-inline">
						<input type="text" name="custodianName" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>



				<div class="layui-inline">
					<label class="layui-form-label">状态</label>
					<div class="layui-input-inline">
						<select name="useable">
							<option value="">请选择是否可用</option>
							<option value="1">可用</option>
							<option value="0">禁用</option>
						</select>
					</div>
				</div>

				<div class="layui-inline">
					<label class="layui-form-label"></label>
					<div class="layui-input-inline" style="width: 200px">
						<button class="layui-btn" lay-submit="" lay-filter="userQueryBtn">
							<i class="layui-icon layui-icon-search"></i> 查询
						</button>
						<button class="layui-btn" type="reset" style="" id="reset">
							<i class="layui-icon layui-icon-refresh"></i> 重置
						</button>
					</div>
				</div>
			</div>
		</form>
	</div>
	<!-- 添加,修改模态框 -->
	<div class="definedModal" id="editForm">
		<form class="layui-form" id="editUserForm" lay-filter="editUserForm">
			<div class="layui-form-item">
				<label class="layui-form-label">管理人名</label>
				<div class="layui-input-inline">
					<input type="hidden" name="custodianId" lay-verify="custodianId">
					<input type="text" name="custodianName" lay-verify="custodianName"
						placeholder="请输入管理人名" autocomplete="off" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">管理费率</label>
				<div class="layui-input-inline">
					<input type="text" name="custodianFee" lay-verify="custodianFee"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">是否可用</label>
				<div class="layui-input-block">
					<input type="checkbox" name="useable" value="1" lay-skin="switch"
						lay-text="可用|禁用">
				</div>
			</div>

			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">描述</label>
				<div class="layui-input-block">
					<textarea name="description" placeholder="请输入内容"
						class="layui-textarea"></textarea>
				</div>
			</div>


			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit=""
						lay-filter="userBtn">立即提交</button>
					<button type="button" class="layui-btn modalClose">关闭</button>
				</div>
			</div>
		</form>
	</div>

	<table class="layui-hide" id="test" lay-filter="test">

	</table>




	<script type="text/html" id="toolbarDemo">
  <div class="layui-btn-container">
    <button class="layui-btn layui-btn-sm" lay-event="addUserModal">添加</button>
    <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">删除</button>
    <button class="layui-btn layui-btn-sm" lay-event="updateUserModal">修改</button>
  </div>
</script>



	<!-- 状态 -->
	<script type="text/html" id="checkboxTpl">
    		<input type="checkbox" value="{{d.custodianId}}" lay-skin="switch" lay-text="可用|禁用" {{d.useable=='1'?'checked':''}} lay-filter="userStatus"/>
	</script>



	<script src="../static/layui/layui.js" charset="utf-8"></script>
	<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->

</body>
</html>